package com.wenlin.myproduction.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author 文琳_377979485@qq.com
 * @time 2021/10/18 0018 下午 1:32
 * @desc 排班编辑时用到的一些参数组成的实体类
 */
public class ScheduleRecordListVars implements Parcelable {
    private String h_id;
    private String d_id;
    private String beOn;

    public ScheduleRecordListVars(String h_id, String d_id, String beOn) {
        this.h_id = h_id;
        this.d_id = d_id;
        this.beOn = beOn;
    }

    public String getH_id() {
        return h_id;
    }

    public void setH_id(String h_id) {
        this.h_id = h_id;
    }

    public String getD_id() {
        return d_id;
    }

    public void setD_id(String d_id) {
        this.d_id = d_id;
    }

    public String getBeOn() {
        return beOn;
    }

    public void setBeOn(String beOn) {
        this.beOn = beOn;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.h_id);
        dest.writeString(this.d_id);
        dest.writeString(this.beOn);
    }

    public void readFromParcel(Parcel source) {
        this.h_id = source.readString();
        this.d_id = source.readString();
        this.beOn = source.readString();
    }

    protected ScheduleRecordListVars(Parcel in) {
        this.h_id = in.readString();
        this.d_id = in.readString();
        this.beOn = in.readString();
    }

    public static final Creator<ScheduleRecordListVars> CREATOR = new Creator<ScheduleRecordListVars>() {
        @Override
        public ScheduleRecordListVars createFromParcel(Parcel source) {
            return new ScheduleRecordListVars(source);
        }

        @Override
        public ScheduleRecordListVars[] newArray(int size) {
            return new ScheduleRecordListVars[size];
        }
    };
}
